import React from "react";
// import ReactDOM from "react-dom";
import ReactDOM from './react-dom'
import ClassComponent from "./ClassComponent"
import App from "./App";

const root = ReactDOM.createRoot(document.getElementById('root'))
root.render(
    <div>
    <h1>
        <div>测试 1</div>
    </h1>
    <h2>测试 2</h2>
    <a href="https://www.baidu.com">11fjhgfhfghfhfhgf1</a>
    <App name='函数组件' />
    <ClassComponent name='类组件' />
</div>
)
console.log(root)